INSERT
INTO
  C1_PERMISSION T
  (
<#assign prefixName=' '>
<#if (insert__beginDate??) && (insert__beginDate__value??)>
  ${prefixName} BEGIN_DATE
	<#assign prefixName=','>
</#if>
<#if (insert__code??) && (insert__code__value??)>
  ${prefixName} CODE
	<#assign prefixName=','>
</#if>
<#if (insert__endDate??) && (insert__endDate__value??)>
  ${prefixName} END_DATE
	<#assign prefixName=','>
</#if>
<#if (insert__id??) && (insert__id__value??)>
  ${prefixName} ID
	<#assign prefixName=','>
</#if>
<#if (insert__name??) && (insert__name__value??)>
  ${prefixName} NAME
	<#assign prefixName=','>
</#if>
<#if (insert__orderCode??) && (insert__orderCode__value??)>
  ${prefixName} ORDER_CODE
	<#assign prefixName=','>
</#if>
<#if (insert__projectId??) && (insert__projectId__value??)>
  ${prefixName} PROJECT_ID
	<#assign prefixName=','>
</#if>
<#if (insert__typeId??) && (insert__typeId__value??)>
  ${prefixName} TYPE_ID
	<#assign prefixName=','>
</#if>
  )
  VALUES
  (
<#assign prefixName=' '>
<#if (insert__beginDate??) && (insert__beginDate__value??)>
  ${prefixName} :insert__beginDate__value
	<#assign prefixName=','>
</#if>
<#if (insert__code??) && (insert__code__value??)>
  ${prefixName} :insert__code__value
	<#assign prefixName=','>
</#if>
<#if (insert__endDate??) && (insert__endDate__value??)>
  ${prefixName} :insert__endDate__value
	<#assign prefixName=','>
</#if>
<#if (insert__id??) && (insert__id__value??)>
  ${prefixName} :insert__id__value
	<#assign prefixName=','>
</#if>
<#if (insert__name??) && (insert__name__value??)>
  ${prefixName} :insert__name__value
	<#assign prefixName=','>
</#if>
<#if (insert__orderCode??) && (insert__orderCode__value??)>
  ${prefixName} :insert__orderCode__value
	<#assign prefixName=','>
</#if>
<#if (insert__projectId??) && (insert__projectId__value??)>
  ${prefixName} :insert__projectId__value
	<#assign prefixName=','>
</#if>
<#if (insert__typeId??) && (insert__typeId__value??)>
  ${prefixName} :insert__typeId__value
	<#assign prefixName=','>
</#if>
  )